import 'package:cbec_app/generated/json/base/json_field.dart';
import 'package:cbec_app/generated/json/invited_friends_entity.g.dart';
import 'dart:convert';
export 'package:cbec_app/generated/json/invited_friends_entity.g.dart';

@JsonSerializable()
class InvitedFriendsEntity {
  String? bookId = '';
  String? activityId = '';
  int? bookStatus = 0;
  int? people = 0;
  int? newPeople = 0;
  int? needPeople = 0;
  String? ld = '';
  int? ldTimeStamp = 0;
  int? commodityType = 0;
  String? spuSpecBody = '';
  String? goodsName = '';
  String? goodsId = '';
  int? specNum = 0;
  String? img = '';
  double? price;
  double? priceBook;
  String? avatar = '';
  List<dynamic>? imgs = [];
  String? orderId = '';

  InvitedFriendsEntity();

  factory InvitedFriendsEntity.fromJson(Map<String, dynamic> json) => $InvitedFriendsEntityFromJson(json);

  Map<String, dynamic> toJson() => $InvitedFriendsEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
